-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: return 404 for non-existing revisions #6014
Conversation
Links to non-existing revisions to docs should return 404
Codecov Report
@@ Coverage Diff @@
## main #6014 +/- ##
==========================================
- Coverage 88.67% 88.64% -0.03%
==========================================
Files 288 288
Lines 40001 40010 +9
==========================================
- Hits 35471 35467 -4
- Misses 4530 4543 +13
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I think one small addition is needed. See inline comment.
Feel free to squash before merging to simplify history if needed 😅 |
:-) that's our usual practice, otherwise our history would be more, uh, "interesting." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Your last change, I think, restores the behavior of returning the current bibtex for a request for a (non RFC) draft with a nonexistent revision. That seems fine to me.
Links to non-existing revisions to docs should return 404
Closes #5934